<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
     $score=75;
     $put1="";
     $put2="";
     $put3="";
     $put4="";
     $put5="";
       if($score>=90 and $score<=100)
           $put1="<img src='xiao.jpg' width='50' height=50/><img src='xiao.jpg' width='50' height=50/><img src='xiao.jpg' width='50' height=50/><img src='xiao.jpg' width='50' height=50/><img src='xiao.jpg' width='50' height=50/>";
       
       elseif ($score>=80 and $score<90)
            $put2="<img src='xiao.jpg' width='50' height=50/><img src='xiao.jpg' width='50' height=50/><img src='xiao.jpg' width='50' height=50/<img src='xiao.jpg' width='50' height=50/>";
       elseif ($score>=70 and $score<80)
            $put3="<img src='xiao.jpg' width='50' height=50/><img src='xiao.jpg' width='50' height=50/><img src='xiao.jpg' width='50' height=50/>";
       elseif ($score>=60 and $score<70)
           $put4="<img src='haha.gif' width='50' height=50/><img src='haha.gif' width='50' height=50/>";
       else 
           
      echo  $put5="<img src='cry.jpg' width='50' height=50/>";
        ?>
        <table width="500" border="1">
  <tbody>
    <tr>
      <td width="90">成绩</td>
      <td width="394">&nbsp;</td>
    </tr>
    <tr>
      <td height="50"> 优秀</td>
      <td><?php  echo $put1; ?></td>
    </tr>
    <tr>
      <td height="50">良好</td>
      <td><?php  echo $put2; ?></td>
    </tr>
    <tr>
      <td height="50">中等</td>
      <td><?php  echo $put3; ?></td>
    </tr>
    <tr>
      <td height="50">及格</td>
      <td><?php  echo $put4; ?></td>
    </tr>
    <tr>
      <td>不及格</td>
      <td><?php  echo $put5; ?></td>
    </tr>
  </tbody>
</table>
    </body>
</html>
